package com.trendata.dao;

import java.util.List;
import java.util.Map;

import com.trendata.domain.Like;

public interface ILikeDao {

	public void insert(Like like);

	public int deleteById(long id);

	public int deleteByImageId(long imageId);

	public Like selectById(long id);

	public List<Like> selectByImageId(long imageId);

	public int selectCountByImageId(long imageId);

	public Like selectByImageIdAndUserOpenId(Map<String, Object> map);

}
